<?php 
const DEBUGPRINT=true;

//Печать отладки
if (DEBUGPRINT) echo "<br> config";

// База данных
if (DEBUGPRINT) echo "<br> defines";
define ( 'DB_HOST', 'localhost' );
define ( 'DB_USER', 'root' );
define ( 'DB_PASSWORD', '123qwe' );
define ( 'DB_DBNAME', 'gb_base' );
define ( 'DB_TMESSAGES', 'gb_messages' );
define ( 'DB_TCOMMENTS', 'gb_coments' );
define ( 'RECSPERPAGE',10);
define ( 'PATH', '/');
define ( 'DB_TYPE', 'MYSQL');



// Включаем DAL
if (DEBUGPRINT) echo "<br> rec DAL.class.php";
require_once('./class/DAL.class.php');
if (DEBUGPRINT) echo "<br> rec templates.class.php";
require_once('./class/templates.class.php');
if (DEBUGPRINT) echo "<br> rec MYSQL.class.php";
require_once('./class/MYSQL.class.php');

if (DEBUGPRINT) echo "<br> --config";
?> 